<?php
namespace Product\Form;
 
use Zend\Captcha; 
use Zend\Form\Element; 
use Zend\Form\Form; 
use Zend\InputFilter\Factory as InputFactory; 
use Zend\InputFilter\InputFilter; 
use Zend\InputFilter\InputFilterAwareInterface; 
use Zend\InputFilter\InputFilterInterface;

class CatalogForm extends Form //implements InputFilterAwareInterface 

{ 
    public function __construct($name = null) 
    { 
        parent::__construct('product'); 
        
        $this->setAttribute('method', 'post'); 
        
        $this->add(array(
             'name' => 'id',
             'type' => 'Hidden',
         ));
		
		$this->add(array( 
            'name' => 'name', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'Type catalog name...', 
                'required' => 'required', 
            ),
        )); 
		
		$this->add(array( 
            'name' => 'categories', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'categories...', 
            ), 
        ));
		
		$this->add(array( 
            'name' => 'cost_code', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'item...', 
            ), 
        ));
		
		$this->add(array( 
            'name' => 'cost_value', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'Type product category...', 
            ), 
        ));
		
		$this->add(array( 
            'name' => 'listprice_code', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'Type product category...', 
            ), 
        ));
		
		$this->add(array( 
            'name' => 'listprice_value', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'Type product category...', 
            ), 
        ));
		
		$this->add(array( 
            'name' => 'sellprice_code', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'Type product category...', 
            ), 
        ));
		
		$this->add(array( 
            'name' => 'sellprice_value', 
            //'type' => 'Zend\Form\Element\Text', 
            'attributes' => array( 
				'type'  => 'text',
                'placeholder' => 'Type product category...', 
            ), 
        ));
		
        
    }
	
	
     
} 
?>